package cn.gxa.j229.bug.finance.mapper;

import cn.gxa.j229.bug.finance.pojo.MoneyRecord;

import java.util.List;
import java.util.Map;

public interface MoneyRecordMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(MoneyRecord record);

    int insertSelective(MoneyRecord record);
    List<Map<String,String>> selectAll(MoneyRecord moneyRecord);
    List<Map<String,String>> selectKey(MoneyRecord moneyRecord );

    int selectAllCount(MoneyRecord moneyRecord  );
    int selectKeyCount(MoneyRecord moneyRecord );
    MoneyRecord selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(MoneyRecord record);

    int updateByPrimaryKey(MoneyRecord record);
}